# -*- coding: utf-8 -*-
from django.contrib.auth import logout
from django.shortcuts import redirect


def Logout(request):  # 登出功能
    logout(request)
    return redirect('TestPlatform_User:Login')  # 重定向